<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<s:include value="/system/path.jsp"></s:include>
		<title></title>
		<link rel="stylesheet" type="text/css"
			href="${contextPath}/resource/css/default.css" />
	</head>
	<body>
		<table class="menu_table">
			<tr>
				<th>数据库表信息</th>
			</tr>
		</table>
		<div class="listtable">
<div class="secondDiv">
		<table class="data_js_table" id="js_table">
			<tr>
				<th width="28%">表名</th >
				<th width="28%">类名</th>
				<th width="28%">所属模块</th>
				<th  width="16%">操作</th>
			</tr>
			<s:iterator value="page.list" var="syndate">
				<tr>
					<td><s:property value="#syndate.tableName" /></td>
					<td><s:property value="#syndate.className" /></td>
					<td><s:property value="synchronizedTable[#syndate.typeModel]" /></td>
					<td>
					<s:if test="buttonGrpMap['edit']">
						<a href="synchronizedDataAction_edit.do?synchronizedData.id=${syndate.id}" title="修改">
							<img src="${contextPath}/resource/img/ico/edit.png" class="edit_style" align="middle" alt="修改"></img>
						</a>&nbsp;|&nbsp;
					</s:if>
					<s:if test="buttonGrpMap['delete']">
						<a href="synchronizedDataAction_delete.do?synchronizedData.id=${syndate.id}"
							onclick="ismesag('确认删除?')" title="删除">
									<img src="${contextPath}/resource/img/ico/delete.png" class="delete_style" align="middle" alt="删除"></img>
						</a>
					</s:if>
					</td>
				</tr>
			</s:iterator>
		</table>
			<table class="button_table">
				<tr>
					<td  width="20%" align="left">
					<div style="">
						<s:if test="buttonGrpMap['add']">
						<input type="button"
								onclick="javascript:location='synchronizedDataAction_add.do'"  class="add_style" value=""/>
						</s:if>
					</div>
					</td>
					<td >
						<div class="pages">
							共 ${page.rowCount}条记录  ${pageLinkList}
						</div>
					</td>
				</tr>
			</table>
			</div>
			</div>
	</body>
</html>
